Release 10.1A: OpenEdge Data Management:
DataServer for Microsoft SQL Server
Modifying your insert trigger
Progress Version 9.1D modified the insert trigger that it places on a table in the foreign database when the Progress
RECIDsupport is selected. The modification reduces the level of contention between multiple users performing inserts simultaneously. The reduction in contention can produce performance improvement.If your database was created using the Progress DB to MS SQL Server utility and Progress
RECIDsupport is enabled, Progress Software Corporation recommends that you re-create your database by dumping your data, executing the Progress DB to MS SQL Server migration again, and then reloading your data. If this is not possible, then you can manually change your existing MS SQL Server database by doing the following on each table that has been defined with ProgressRECIDsupport from your MS SQL Server Migration:
- Drop the unique index created over the
progress_recidfield. There should be one index for each table created during the initial migration. The syntax is:
- Drop the old insert trigger. The name typically looks like
_TI_<tablename>. The syntax is:
- Add the new trigger. The syntax is:
Sample code for the
db.owner.Customertable is:
- Create a new nonunique index for each table naming the new index the same name as was dropped earlier in Step 1. Make sure it is not unique. The syntax is:
A second index must be created for the
progress_recid_identfield. This index must be created as unique and named<tablename>#_#progress_recid_ident. The syntax is:
An example of the two indices that must be created for the
customertable is as follows:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |